import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import Vant from 'vant'
// import 'vant/lib/index.css'
// Vue.use(Vant)
import 'element-ui/lib/theme-chalk/index.css'
import vs from './components'

import {
  Tabbar, TabbarItem, Form, Field, Button, NavBar, Toast, Cell, CellGroup, List, PullRefresh, Icon, Grid, GridItem
} from 'vant';
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)
Vue.use(Grid).use(GridItem).use(CellGroup).use(Icon).use(PullRefresh).use(List).use(Cell).use(CellGroup).use(Toast).use(NavBar).use(Button).use(Form).use(Field).use(Tabbar).use(TabbarItem).use(vs)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
